package com.example.permission.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @description： 登陆
 * @author: xuwq
 * @date: 2020/5/9 17:29
 */
@Data
public class LoginDTO {
    @ApiModelProperty("账号")
    @NotEmpty(message = "账号不允许为空")
    private String userNo;
    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不允许为空")
    private String password;
    @ApiModelProperty("图形验证码")
    @NotEmpty(message = "图形验证码不允许为空")
    private String imageCode;
}
